package com.chuanyekeji.aokai.Mapper;

import com.chuanyekeji.aokai.Entity.Information;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface InformationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Information record);

    int insertSelective(Information record);
    Information selectNextId(int id);
    Information selectLastId(int id);
    Information selectByPrimaryKey(Integer id);
    List<Information> searchIndex(String index);
    int searchIndexCount(String index);
    int getInformationCount();

    List<Information> getInformationList(@Param("indexRow") int indexRow, @Param("lastRow")int lastRow);

    int updateByPrimaryKeySelective(Information record);

    int updateByPrimaryKey(Information record);
}